module.exports = function reportMonitor(request, result) {
  let mobileInfo = wx.getSystemInfoSync();
  let data = {
    sourceId: '云运维CRM',
    version: '1.1.3',
    url: request.url,
    time: (new Date()).valueOf(),
    userInfo: wx.getStorageSync('userInfo'),
    mobileInfo: mobileInfo,
    params: request.data,
    result: result
  }
  // console.log('============')
  // console.log(request)
  // console.log(result)
  // console.log(data)
  // console.log('============')
  // wx.request({
  //   url: 'https://g.wxplayer.com/terrace/index.php/admin/log/add',
  //   data: { sourceId: 'ief', content: JSON.stringify(data) },
  //   method: "POST",
  // })
}